package edu.umassd.visual.components;

import edu.umassd.visual.Display;

/**
 * A component that can be show on the screen.
 * 
 * @author Dan Avila
 * 
 * @param <T>
 *            - the type of display this component will be drawn to.
 */
public interface Displayable<T extends Display>
{
	/**
	 * This method is called when it is time to display the particular
	 * component.
	 * 
	 * @param display
	 *            - the display to draw the component on.
	 */
	public void display(T display);
}
